<#include "module/macro.ftl">
<@head title="归档 · ${options.blog_title!'Anatole'}" keywords="文章归档,${options.seo_keywords!'Anatole'}" description="${options.seo_description!'Anatole'}"></@head>

    <div id="app">
		<#include "module/header.ftl">
        <main class="mx-auto pt-12 sm:pt-10 container">
			<div class="mx-auto px-4 mt-8 max-w-6xl tracking-wider md:leading-relaxed sm:leading-normal mx-800">
                <@postTag method="archiveYear">
                        <#list archives as archive>
                           <section>
                                <#list archive.posts?sort_by("createTime")?reverse as post>
                                   <div class="relative">
                                    <span>
                                            <a href="${options.blog_url!}/archives/${post.url!}" class="ah-hf ah-hv base-colo" title="${post.title!}">
                                                <span class="ah-dt">${post.createTime?string("yyyy-MM-dd")}</span>
                                                <span class="ah-tt">${post.title!}</span>
                                            </a>
                                        </span>
                                    </div>
                                </#list>
                            </section>
                        </#list>
                </@postTag>
            </div>
        </main>
	</div>
<@footer></@footer>
